projects
/
gpsbabel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
92b9521
)
When converting HTML to text, convert newline to space.
author
robertl
<robertl>
Mon, 19 Jun 2006 20:33:10 +0000
(20:33 +0000)
committer
robertl
<robertl>
Mon, 19 Jun 2006 20:33:10 +0000
(20:33 +0000)
util.c
patch
|
blob
|
history
diff --git
a/util.c
b/util.c
index f0974d4234a443b985c2cf7708f252641b2907f4..cb115058aebef20325e79ee912dedb0918de3ff4 100644
(file)
--- a/
util.c
+++ b/
util.c
@@
-1194,7
+1194,9
@@
strip_html(const utf_string *in)
}
if (! tag[0]) {
- if (*instr != '\n')
+ if (*instr == '\n')
+ *out++ = ' ';
+ else
*out++ = *instr;
}
else {